removes old structure