Links are not forming properly