properly set stages and DOMChange