error in case sensitive matchings