added element correction for topology