repair img suffix error