fix for package name generation when importing