fixed a few console bugs