Switched to sqlite3 and fixed slim version