Fixed attachment reference formatting