fixed bug introduced by commenting smooth.