fixed multiple query execution.