Corrected mismatched bracket error