fixing incorrect parameters