Fix the bug caused by DOS line endings.