assign classes to items which don't have any