fixing sthe alert only when broken