Fix in deprecated import