fixed the compilation problem by changing image width