data-role attribute fix