working around case insensitibity