fixed dict() definition.