fix error when cgminer has no pools