modefied FRAME_CHECK