Fixes issues when running the server locally