continue fixing the recoverPose mask bug.