long BDM process recovery quick fix on Python side