data is str, not dict