Console error spam fix