fix api changes against benforslaw