update code for emtpy alert bar