preventDefualt on user input