fixed issue when generated simple modules within an advanced module and it setting the improper "model_location" value