fix wrong argument

• due to moving code from list widget to admin js
remove double occurrences of separators in path