fix a bug related to app.main.jar