cleaning up sector edit