Fix error that the type judgment of lua value would parse string —> int or int —> string