Clear unuseful code