remove console.log duplication in production mode