removes temporarily db saving docs