fix dart patch