fixed await key press instruction