Foundation bug fixed