fix cast bug
improve continuation frame