small console code fix