fixing newline compilation errors