fixes lines