Fix import phases