clean up pending