fix keyboard delay