code clean up
Merge branch 'master' into sqlite_inline