fix a bug in Store