fixing a case issue