fix an app loading issue in the front end