Removed several database errors