Fixed missing temp dict