Fixed extraneous attachment attaching.