fix chisel bug