adjusting maxRows