a fix for broken images