fix nfs and modify for idempotence