fixed issue with image tags