cleanup dict