fix multiple storenames bug

when multiple storeNames, it will happen an error exception