don't fail on replace close