update to 0.2. fix some bugs.