modified unpersist strategy