fixed Player object not working