fixing image attrhtml