fixed missing category in format_series