modefied frame_checker