fixed foundation namespace issue