class wrapper: fix for atom_getlong returning a type that TTValue will understand