Fix the cgminer + other fix