fixed params and typo