Fixing a bug in subnational generator method
regenerated api to fix #101