fixed dumb closing bracket deletion error.

Oops!  Sorry for the non-functioning code in the last pull-request!