Fixed missing logs bugs