remove .eco where not necessary