improve OX objects' life cycle