fix metatype of object methods/attributes
fix tests