fix py tmplate path