fix for newline issue