fix an analysis warning

@albualexandru fix one analysis warning related to a newly added method (TBR)