minor attachment fixes