correction in structure element extraction