# Unable to reset player position by setting playMode to BeforeKickOff via monitor message in robocup3ds

Hi, I want to control a simulated Nao in Gazebo using robocup3ds plugin. I need the ability to reset ball position and Nao position whenever I set the game play mode to Before-Kickoff. My code already works with rcssserver3d and simspark. Now I need to adapt my code to robocup3ds plugin. But in robocup3ds, setting play mode to Before-Kickoff just resets the ball position. Nao position is sometimes reset as expected, but sometimes it is not. For example suppose Nao initial position is (0, 0, 0). Assume Nao is at position (-2, 3, 0) and fallen on the ground. Now setting play mode to Before-Kickoff resets Nao position to a point near its last position (e.g. (-2.1, 3.2, 0)). But the desired behavior is to reset Nao to its initial position which is (0, 0, 0).

I have spent several days to figure out what's wrong. But I failed to do so. Does anyone know what might cause such a behavior?