fix bug for smearer.cc