fix case printing of empty cases