Added case for missing opening bracket