erase superfluous code