remove console.log from helper middleware