fixed missing alert boxes