fix issue with column width calculation