fixing console loger