correction in tube for parallel code