solved... now I set it to true if a complete folder/trash was deleted so that we can use it for the error logging.