handle exception in one place and for all
try to fix the backtrace by ourselves