fix save afid 2 file bug