fix to IE image insert fn