resolve the app variable conflict