handle erro when keyword is blank