cleaning up key enter press