Fix bug with attachment display