server works properly on mac now