Fix for player data saving