Fixed bug on relative urls