fix for trashbin

added small fix for trashbin.
@schiesbn this is also related to #2991