separated the fixers and need to rename the return handling variables and reset the local counters after each region