cleanup pending item