Fix object type