fix path ext error