fix environmentActivity