lowercase the completion query