Fixing use of helper function.