fix styleElm global leak