fixed bug with empty content return