find path bug fix