fix captureStackTrace #8