local images, crlf to lf, unitialized var