probably should fix the relative urls too