fix line endings
remove unused template
fix lint errors