Console overflow fix