add getStore function and fix some bugs
version 0.1.1 --> 0.1.2