Fix console spewing errors