fixed the deal id value getter