Fix unintended module type closure and a stat field typo