prevent crash in coolsearch