add mex base return to widget