Fix parsing error on empty content