support relative path for mod
support relative path for mod
fixed muti-level relative dir