model log bug fixed