fix user dict crash on deleting