all database operations now work properly