Fixing template relative url problem.