remove duplications from send_key_strokes