remove obsolete hacks and vendors