adapting to Congress API tweaks