[ci skip]remove duplicated codes