get_frame and ruby listen fix