environment error modify and add init