correct input behaviour