One bug fixed, alerts now shown correctly