Finally fixed environments issues.