fixed some logger