need fix, the callback function can not be called, but raising a hard fault