fix wrong path in subsitution of locale