fix broken img tags with onError