fixed labelAlignments to include index column