cleanup + localremote