flatten all curves, re-enable set layer