print and comment cleanup