fix chaining of metadata driver and object constructor