the last frame was duplicated
add comments