correcting the format for listing multiple categories