fix the expected bug related SMI
fix some bugs and add spravka
fix some bugs and change version to 1.2