improve metadata and debug the unpickable ones