patch bug with relative path