add open bracket after if