fixed not entering y or n for query