added alerts and fixed community tables