Remove extra } and fix typo