fix false positives when checking chanopts