fix attachement