fix template folder