fix serialization of accumulator

add better message when try to access Broadcast.value in driver.