fixed full writedag