fix error handling for options+assigned to