fix brackets macro