updated path joining