minor improvment in error report
increased support for deleting using only activity id