custom model generator fix

when menu_config will does not exist create a empty one.