fixed relative path issues with links