Fixed bug in which parameters were incorrectly set.