fix: dictionary find function