server work correctly