fix order attachment loss bug