fix path join issue