path joining bugfix