Remove unrelated code in foundation style