fix: the reference name used was not the good one when generated
onObjectSliced