fix bug in empty trash