reimport module ids when refactoring. fixes #165