remove illegal img tag