fixes bug attaching multiple events on attachment options