fix pending transactions