Minor bug fixes

Fixed semi-colon brace errors