trying to fix relative url problems