change the min row to 1 instead of 2