bug fix path code generated