changed 2 message box -> 1 message box