fixed sqlite to work with heroku