Remove duplicated choose classification code