fixing broken return error call in returndata