fix search by id bug