add case insensitivity check for infinity