misc. attachment fixes