major fixes for phy error labels... mislabelled the indices before