new line character issue fixed