fix error with missing options