it's useless to parse empty content
removed serialize before strlen