mining.subscribe fix.

fixes #528