remove console.log statements from midsockets