fix for reps type iffferences