fix: fix chaining functions