fix validate-loop-locals casting