error on unmatched opening bracket, recover from panics