smooth trasitions on error