feat: fix #10 added state query paramater