fixed mptt import issues with migration

re #6