fix bug that logger string