cannot fix fact that luaffi needs tonumber() for equality