fix for the speakers' icons
stolen func to get id of attachment
small fixes