vout: avoid infinite loop