Fixing errors copy on write. One problem left