UnboundLocalError
backport delete workspace and take callback.  Fix bug in getting index (ints can be bigger than 1 digit)