-fix legacy import not working