fix log timing