fix some console startup issues