this breaks when pylons compatibility is turned off