fix parse bug: no text key then no text
trim