hide legacy elements