remove SCRIPT_NAME from UI API path