fix opts