fix errors

fix errors which occured while calling non existent player or group of
players that already were in database