modified the error message box