Just fixed an issue with my board cutting out when braking too hard, just wanna make sure the values okay

So my board would cut out for a second when braking too hard and when changing directions quickly while free spinning. I changed battery current max Regen from 15 too 25 and it’s fixed the issue. My battery current max is 30. My setup is lil focer and stock battery and bms (XR). Just wanna make sure this value is ok