Fix console issues