yapp_smooth bug fixes.