fixed the relative path in the sample view

fixes #38