Fixed an issue where player object wasn't storing correctly.