fixed writer save published agian and tested