fixed typo; added missing brace