fixed loading of foundation