fix of dump bug, which saves the player data too early