removes config junk