remove trash function