fixed a logical error with attachAll