improve query by autochanging to uppercase