fix player duplicate bug