fix setting on patch edit