Grid lines fix