some bugs
fix some bugs