cleaned up document cache