erase the extra code