Fix  error for smooth system