fix bad generation of title after compilation