Fix plot summary and ratio parsing