fix console garble