remove schema from query