prevent new line at the of file