bugfix via @https://github.com/jhwhite/Foundation/commit/6d8e7a814dfc3d825c50b820424dd311f2cb646b