Server now works properly