fixed some small bugs with parameter naming