remove heavy assert output
relax switch assert