added message on close