fix bug with delete player