fix diffopts