fix env variable in init script