fixing template file path