fix for params