fixes so that foundation doesn't destroy search input