oops, that was a error in my side! renamed helper function to rec but forgot to fix the place it got called. sorry.
helper
rec