wiping local database