refactor links vew