disable old DonPedro API - better way