fixes issue with input button