make xattachment a little bit beautifuller