Fixed the end-lines format