fix add player logic