fixed a missing parenthesis and fixed a formatting issue