Fix foundation config