Fixed case statement to match insensitive