bug fix path when compiling