don't add rows with empty text; fix #1