fix heroku sqlite-3 issues