fix path test bug