fix bug: define setStoreName() twice