fix bracket depth