Fix debugLevel storage