Add Exception on wrong parameter size
Fix client profile build