fixed bug in ie where wrong base url was used