fix relative path for app's rooturl