Fixed double line issue with print to screen