Fixed getplayer and error formatting