fixed issue with remote mining