import offset calculation changed