fix broken elements.