fixed bug on Input/press