remove ID of elements that are split, add classes