fix issue with linker and local view.