change free id's search code.