perf: fix arguments reassign deopt in some res methods