fixed closing save