invocationhandler fix, now properly returns values