make the mvcApp support empty appPath