fix lines for min