fix resourth path bug