replace basepath using backslahes by forward slaeshes for sweet relative url creation even in win environment