adhoc queries not using serialize