fix bug
fix bug: when raising error