bound on off function to ascii key code