Set correct chapter and case for nested namespaces.
fix whitespace