remove dead code in util