Sqlite fix for deployment