compensating api changes