Revert previous fix

My previous fix was not the correct way to fix this problem.  Change back to using params.