Corrected the image helper