fix brackets setting