db fixes to match remote server.