fixed the EnvID discrepancy (envid hat to be passed to BADs which have
to be created during the spawn, this has been decoupled now)