fix missing any2int function