fix keyboard listener and back self instance