fix removed record bug: #1