fixing link routes