Fix error with serveHttp