fix for pool mining