modified CustomAlert