fixed problem with relative doc paths