Fix Errorf can not get the right caller