Real-time plotting exception fix