correct module loading for edit