to remove intermediate images