fix bug:free dict