Fix due to change in bestalgo API

--