fix top log bug