cleanup unneeded sections