Fixing a case issue