Cgminer fix's