need to enforce ghost_mode on cleanup