fix some critical typos which prevents, core API being not usable
removed console.logs
Merge branch 'fix-critical-typos'