remove un-used codes