fixed failed check
use foundation template