taking out message box