delete unpleasant code