fix for trashbin

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