Fix insert lines