optimize BracketsEvents a bit, should help with the speed