fix empty content problem