moved alerts to bottom