fixed correct default values for params