jquery ui checkbox and php question

jquery ui checkbox and php question

hello - i have a list checkboxes that gets dynamically generated by php and i am using the buttonset to convert them into jquery ui checkboxes.Problem is that only one gets converted - the rest of them dont , even if they all have different id and for on the label. anyone has any idea why ?