fixing the join-path issue.