remove duplicated function #281

remove duplicated function #281