fixed warning for no trashlist