fixed problem in claim script