fix delete with keepstatic #604