fix case emit