fix bug that striped spaces in query result