fixing id's not showing up for buttons or alert badges