fix validate-loop-locals
fix typo