make patch apply strictness configurable in settings