ensure that a path exists
remove debug code