fixed module nesting for models