fix to \n bug