method arguments weren't transformed correctly in a recursive manner