fix bug : patch to path