fix bug to add frame id in first column