small modification to avoid exception in case of only dumpbox