removed alert and added blank values for search