removing sqlite3 replace pg