Fixed lines bug