Add close() to finalize in module_profile.
Fix typo and format issue in module_profile.miml.