fix objects.inv loading for sphinx docs