clean up of specializations and such