remove the global app object.