Fixed the problems with the inputs like 'pwda'