Fix createStore little bug