Aspects of the disclosure provide methods and apparatuses for video encoding and/or decoding. In some examples, an apparatus for video decoding includes processing circuitry that can decode coded information of a transform block (TB) from a coded video bitstream. The coded information indicates a region of the TB on which a secondary transform is applied. The region includes a first sub-region having transform coefficients calculated by the secondary transform and a second sub-region that is a zero-out region. In response to a determination that a neighboring transform coefficient is in the second sub-region and a current transform coefficient in the TB is not in the second sub-region, the processing circuitry determines the current transform coefficient according to a default value for the neighboring transform coefficient. The processing circuitry reconstructs a sample in the TB based on the transform coefficient for the sample.