patch for cuckoo 1.2