fix get attach pic