Corrected bugs while reading from the keyboard