fixed issue with image helper