simplify code for attach
simplify code for attach

errordeveloper/weave,inercia/weave,n054/weave,beni55/weave,squaremo/weave,2opremio/weave,rade/weave,weaveworks/weave,awanke/weave,achanda/weave,dpw/weave,BWITS/weave,OnePaaS/weave,paladin74/weave,Lawouach/weave,paulbellamy/weave,kidaa/weave,BWITS/weave,paladin74/weave,bboreham/weave,ycaihua/weave,kidaa/weave,paladin74/weave,inercia/weave,2opremio/weave,19hz/weave,awh/weave,aaam/weave,ycaihua/weave,ycaihua/weave,philipz/weave,weaveworks/weave,bboreham/weave,aaam/weave,awh/weave,paladin74/weave,tomwilkie/weave,19hz/weave,awanke/weave,cgvarela/weave,paulbellamy/weave,OnePaaS/weave,weaveworks/weave,achanda/weave,philipz/weave,cgvarela/weave,kidaa/weave,weaveworks/weave,tomwilkie/weave,philipz/weave,OnePaaS/weave,awanke/weave,BWITS/weave,tomwilkie/weave,tomwilkie/weave,achanda/weave,aaam/weave,2opremio/weave,ycaihua/weave,dpw/weave,errordeveloper/weave,n054/weave,kidaa/weave,beni55/weave,beni55/weave,n054/weave,paladin74/weave,awh/weave,rade/weave,squaremo/weave,squaremo/weave,awh/weave,narry/weave,inercia/weave,narry/weave,bboreham/weave,19hz/weave,beni55/weave,bboreham/weave,tomwilkie/weave,dpw/weave,errordeveloper/weave,squaremo/weave,awanke/weave,2opremio/weave,errordeveloper/weave,philipz/weave,cgvarela/weave,cgvarela/weave,inercia/weave,aaam/weave,rade/weave,achanda/weave,Lawouach/weave,dpw/weave,rade/weave,kidaa/weave,beni55/weave,inercia/weave,philipz/weave,paulbellamy/weave,2opremio/weave,awh/weave,achanda/weave,bboreham/weave,Lawouach/weave,Lawouach/weave,squaremo/weave,dpw/weave,paulbellamy/weave,cgvarela/weave,narry/weave,BWITS/weave,awanke/weave,narry/weave,19hz/weave,n054/weave,n054/weave,ycaihua/weave,errordeveloper/weave,BWITS/weave,aaam/weave,OnePaaS/weave,rade/weave,OnePaaS/weave,narry/weave