fix case issues