add missing appObj for env