fix case* handling