[refactor]Remove not needed string res

Signed-off-by: Ethan Shan <shan0xiao0xi@gmail.com>