add keydown hook in a dirty way