foundation fixes