fix case emission, closes #25