remove similar codes.