player & playerstate error fixes