fix log format which cause build error