handles old sqlite
Merge branch 'master' of github.com:simsong/be13_api