Are you sure the block doesn't return the validation result? If not OK, but if it does, please remove the variable initialization.