fix foundation framework