fixed the rows/cols in display