removed alertdialog