Fixed some logs printouts