query_err css class addition