Fixed regex loop-back stream to start from the correct position