remove the pending