fixing prefix and senetized input error problem
