fixed all server errors