fix double alert