fix error with anyoption