fix broken cpoptions