Your code is missing `queue_properties` implementation/instantiation. Please post a snippet that compile or edit your post.
also this won't compile
var queue_table = Table[uint32,string]()
bu this will
var queue_table = initTable[uint32,string]()
