improved plugin stream