removed '\r' from end-of-line