server works more correctly