change to error message for invalid num_claiamnts