added correct labels to alerts
fixed div by 0 in AdminController