Fix some bugs
Merge branch 'master' of github.com:Rdlgrmpf/ysnp