Don't go beyond foundation 5.2.2

5.2.3 seems to break things at the moment.