edit dictgetter method