store: fix get from queue bug