delete excess images