fix bug translate_event (nil)
fix bug in peek