fix log bug again