fix merge bug - was passing object instead of object.version