Fixed no new line ending issue