fixes error in is_nullplayer when using strings