Fix that it crashes when the cells are lesser than the columns