remove tmp resources