bug fixed and add the exception information