Fix a bug that flush with empty content.