file line ending
fix templatetype