fix brackets