fix issue #4 (sub_id was removed from decoder struct)