fix bug that was preventing beautiful soup rewrite to actually download images