removing cortex thing