fix attachment date