otp validation for pruning