cleanup some excess printlines