revert logic change that prevented algorithm selection