modified find_frame to not fail on speed 0