bug fix in event/trash.py