fix case insensitivity issue