Fix some bugs, Release v 1.2.1 beta