Fix bug with bracket