bugs fixed
Merge branch 'master' of github.com:lunny/xorm