Typo fixes (added missing end brackets