bug with cmp function for affixes fixed