cleaning up from ntoes