fixed line / space issues in code