fixed img bug