remove console.log check fixed #12