fixes on server to make webapp run