fixes module loading path in min.'s