fixed conversion of "0", added lua_tonumberx