change extern to static in console.*
merge