removed warning and refactorer playertest