Correcting the attachTo property.