fixed the new line issue