fixed ace template and generated files