fix invalid template in alert.py; removes prints