setElement in render