minor refactor
minor
fix no_namespace default
fix sub_name and sub_ns for non-complexmodel-child cases.