fix resume bug
proper sync between capture and rotation