fix some cox bug