keep old weights on cancel button click