fixes heights for rows