fixed the import level and ranges