Fixed a couple of small params bugs