1. modify the checking of claim length
2. repair the rspec for claim length checking