fix(edit) if patch not str => patch = false