fix log sequence bug