modify path in init