Fixed img bug