Fixing problems of Input