solve the problem that search keyword is null.