clean some un-used codes