rename env logics