add the first time search before refresh