Fixed calculate indent for close bracket