fix an integration bug