Cleanup switching reg