clean up database, ready for passoff