delete unuseful code.