fix bracketing. indent logic is good now