fxed consol errors