fix a bug which caused the server down when start up the web app at /.