fix relative links; remove whitespace