fix bug: deleted keys exist after load