Fix master declaration in tpch q1 and q3