Fixed relative url issues for SPOT-1403