remove cortex