Fixed SQLite3 issue for heroku