fix sxgueue table indexing