fix relative paths
path should be const
add test