remove references to app