Wow, thanks... turned out I was used $lf instead of $crlf smile