handle empty content