remove the alert method after debugging is finished