replaced idea edit view spec categories variable with assign statement