fix multiple row error

Fix a case the will report multiple rows