Correcting jp4table, hardlink and jp4trahser calling method in procedures and autoseg adaptation