lua : fix a bad case of use before init