remove not-used codes