fixed bug in ice search