fix lines field