tool hiding unnecessary code fix