fix delete record issue #34