modify CSVD to meet the SB vs's compiler