Fixed bugs

Fixed a forgotten end-parentheses and indented line problems