fixed a minor bug to do with naming conflicts in imported objects