Fix console issue