fixed bug introduced when shastore format changed