fix the calls which use $baseHref