fixed bug with path join