Fixed an error with empty parameters