fix for #386

Small fix to inline with c an java example for identify.