fix bug in foundation nav