fix error trying to import with a blank import string
fix upgrades with both static and dynamic modifiers overwriting each other