unset modified data before safe so that it will be updated