remove console.log in extend