fix error with optional params