allow debug in console and fix namespace Typo