Fix variable being passed unnecessarily.