added gerr to result dict